import { ShapeFlag } from "../../flags"
import { mountElement } from "./mount"
import { patchElement } from "./patch"
import type { vnode } from "../../../types"


export function processElement(vnode:vnode, container:HTMLElement) {
  const { tag, props, children, shapeFlag } = vnode

  if(children) {
    if(shapeFlag! & ShapeFlag.TEXT_CHILDREN) {

    } else if(shapeFlag! & ShapeFlag.ARRAY_CHILDREN) {

    }
  }

}
